#! /usr/bin/python
# coding: utf-8

from Tkinter import *

root = Tk()

root.geometry('80x80+0+0')

print root.pack_slaves()

Ll = LabelFrame(root, text='pack1', bg='red')
Ll.pack(side=LEFT, ipadx=20)
Label(Ll, text='inside', bg='blue').pack(expand=1, side=LEFT)
Label(Ll, text='pack2', bg='blue').pack(fill=BOTH, expand=1, side=LEFT, padx=10)
Label(Ll, text='pack3', bg='green').pack(fill=X, expand=0, side=LEFT, pady=10)

print root.pack_slaves()

root.mainloop()
